![]() |
PBFlushForkSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Causes all data written to an open fork to be written to disk.
OSErr PBFlushForkSync ( FSForkIOParam *paramBlock );
A pointer to a parameter block
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, the reference number of the fork to flush.
The actual fork contents are written to disk, as well as any other volume structures needed to access the fork. On HFS and HFS Plus, this includes the catalog, extents, and attribute B-trees; the volume bitmap; and volume header and alternate volume header (MDB, alterhate MDB), as needed.
On volumes that do not support PBFlushForkSync directly, the entire volume is flushed to be sure all volume structures associated with the fork are written to disk.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)